define([
        'app/utils/WebUtils',
        'app/service/GeneralServices',
        'underscore',
        'app/utils/UploadLogoUtils',
        'app/utils/AMUICookieUtils',
        'app/ui/CatalogsUI',
        'app/utils/CommonUtils'
        
        
        ], function (
        WebUtils,
        gs,
        _,
        UploadLogoUtils,
        AMUICookieUtils,
        CatalogsUI
    ) {
	
	var opt ={};
	var p1 = {};
	
	opt = p1 = AMUICookieUtils.initializePage(true);
	
	opt.navi_main = "微讲堂分类管理";
	opt.navi_sub = "为微讲堂添加分类";
	opt.copyrighttext="";
	WebUtils.adminPageInt(opt);
		

	gs.wjt_admin_catalog_init(p1, function(resp){
		if(resp.status == "500"){
			WebUtils.alert("连接错误，请刷新页面重试！");	
			return;
		}
		
		CatalogsUI.init(resp.result);
		

		
	});
	
	
	return;
});